package com.why.mapper;

import com.why.pojo.User;
import org.apache.ibatis.annotations.Select;

/**
 * @author new wei
 * @date 2022/5/16 11:16
 */
public interface UserMapper {
    @Select("select * from t_user where uname=#{uname}")
    User getUser(String uname);

    void addUser(User user);
}
